<template>
  <div class="about">
		<a-radio>Radio</a-radio>
		<a-button type="primary" @click="toab">Button></a-button>
    <h1 @click="toerji">This is an about page</h1>
		<router-view></router-view>
  </div>
</template>
<script>
	export default {
		name: 'about',
		props: {
			msg: String
		},
		created(options){
			console.log("路由传参",this.$route.params.iid)
			this.$api.addressget({id:"1111111"})
		},
		data(){
			return {
				
			}
		},
		methods:{
			toab(){
				this.$router.push({name:"About",params:{iid:'123'}})
			},
			toerji(){
				this.$router.push({name:"FirstChildren",params:{iid:'123'}})
			}
		}
	}
</script>
